package order;

import com.feign.cart.CartFeignService;
import com.feign.product.SkuInfoFeignService;
import com.feign.product.SpuInfoFeignService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan("order.mapper")
@EnableFeignClients(clients = {CartFeignService.class, SpuInfoFeignService.class})
@EnableRabbit
public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }

}
